var str='';
<#list list as doc>
<#if doc_index gt 5><#break/></#if>
str+='<dd><tt><strong>[${doc.type}]</strong> <a href="http://news.17dian.com/alchemy_news/${doc.did}.html" target="_blank"><#if doc.title.length() gt 15>${doc.title[0..14]}..<#else>${doc.title}</#if></a></tt>${doc.posttime?date}</dd>';
</#list>
document.write(str);